.custom-btn {
  padding: 8px 15px;
  border-radius: 3px 3px 3px 3px;
  background-color: #fff;
  border: 1px solid;
  border-color: #DCDFE6;
  color: #1f2d3d;
  box-shadow: none;
  font-size: 14px;
  cursor: pointer;
  line-height: 14px;
  margin-left: 10px;
}

.custom-btn:first-child {
  margin-left: 0;
}

.custom-btn:hover {
  background-color: #f5f7fa;
  border-color: #DCDFE6;
  color: #1f2d3d;
}

.custom-btn.primary {
  background-color: #0F996D;
  border-color: #0F996D;
  color: #fff;
}

.custom-btn.primary:hover {
  background-color: #25BF8E;
  border-color: #25BF8E;
}

.custom-btn.primary.plain {
  background: #fff;
  border: 1px solid #0F996D;
  color: #0F996D;
}

.custom-btn.primary.plain:hover {
  background-color: #E1F8ED;
}

.custom-btn.danger {
  background-color: #FF0000;
  border-color: #FF0000;
  color: #fff;
}

.custom-btn.danger:hover {
  background-color: #FF6E6E;
  border-color: #FF6E6E;
}

.custom-btn.danger.plain {
  background: #fff;
  border: 1px solid #F24E24;
  color: #F24E24;
}

.custom-btn.danger.plain:hover {
  background-color: #FEE4E1;
}

.custom-btn.warning {
  background-color: #FFA900;
  border-color: #FFA900;
  color: #fff;
}

.custom-btn.warning:hover {
  background-color: #EBB73F;
  border-color: #EBB73F;
}

.custom-btn.warning.plain {
  background: #fff;
  border: 1px solid #FFA900;
  color: #FFA900;
}

.custom-btn.warning.plain:hover {
  background-color: #FFF7E4;
}

.custom-btn.disabled {
  background-color: #EAEDF2;
  border: 1px solid #EAEDF2;
  color: #9DA4AE;
  cursor: not-allowed;
}

.custom-btn.icontext {
  padding-left: 10px;
}

.custom-btn.icontext .iconfont {
  margin: 0 5px;
}

/* 上传按钮 */
.custom-btn.upload {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.custom-btn.upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}